<?php
set_include_path(dirname(dirname(__FILE__)));
include 'class/base.php';
include 'class/decorator/weibo.php';
include 'class/decorator/url.php';

$weibo = new Weibo();
$url = new Url();
$weibo->show();
$url->decorator($weibo);

$weibo->show();